Generating Specialized Rules and Programs for Demand-Driven Analysis
نویسندگان
چکیده
Many complex analysis problems can be most clearly and easily specified as logic rules and queries, where rules specify how given facts can be combined to infer new facts, and queries select facts of interest to the analysis problem at hand. However, it has been extremely challenging to obtain efficient implementations from logic rules and to understand their time and space complexities, especially for on-demand analysis driven by queries. This paper describes a powerful method for generating specialized rules and programs for demand-driven analysis from Datalog rules and queries, and further for providing time and space complexity guarantees. The method combines recursion conversion with specialization of rules and then uses a method for program generation and complexity calculation from rules. We compare carefully with the best prior methods by examining many variants of rules and queries for the same graph reachability problems, and show the application of our method in implementing graph query languages in general.
منابع مشابه
Sensitivity Analysis of Technology Changes for EnergyDemand by Iranian Economic Sectors: an Application of Sherman-Morrisson Method and Input-Output Approach
We undertook a sensitivity analysis of the key demand factors leading to changes of energy consumption in the competitive market, using a Leontief demand-driven approach. We applied the Leontief model to previous research results to study the most sensitive factors leading to the change of energy demand in different economic sectors. Based on the 2011 Iranian symmetrical input–output table, the...
متن کاملOptimal Scheduling of CHP-based Microgrid Under Real-Time Demand Response Program
Microgrid (MG) is considered as a feasible solution to integrate the distributed energy sources. In this paper, optimal scheduling of a grid-connected MG is investigated considering different power sources as combined heat and power (CHP) units, only power and heat generating units, and battery storage systems. Two different feasible operating regions are considered for the CHP units. In additi...
متن کاملDemand-Driven Type Analysis for Dynamically-Typed Functional Languages
We present a new static type analysis for dynamically-typed languages that produces high quality results at a cost that remains practicable. The analysis has the ability to adapt to the needs of the optimiser and to the characteristics of the program at hand. The result is an analyser that quickly transforms itself to be better equipped to attack the program. Experiments show that our approach ...
متن کاملA Data-driven Method for Crowd Simulation using a Holonification Model
In this paper, we present a data-driven method for crowd simulation with holonification model. With this extra module, the accuracy of simulation will increase and it generates more realistic behaviors of agents. First, we show how to use the concept of holon in crowd simulation and how effective it is. For this reason, we use simple rules for holonification. Using real-world data, we model the...
متن کاملThe Energy and Exergy Analysis of Integrated Hydrogen Production System Using High Temperature Steam Electrolysis with Optimized Water Path (RESEARCH NOTE)
In this research, solar-drived integrated Hydrogen production (HP) using high-temperature steam electrolysis (HTSE) is thermodynamically evaluated. This system includes an organic Rankine cycle (ORC), Rankine cycle, Brayton cycle, solar tower, and High Temperature Steam Electrolysis (HTSE). Solar energy supplies thermal energy. This heat source is applied for generating power. This energy is us...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2008